//
// Created by Administrator on 2024/9/10.
//

#include "Button.h"
#define ADC_KEY_PIN 0

void scanBtn(void *)
{
    pinMode(ADC_KEY_PIN,INPUT);
    while (1)
    {
        ESP_LOGD("adcKey","%d", analogRead(ADC_KEY_PIN));
        vTaskDelay(100);
    }
}